home *** CD-ROM | disk | FTP | other *** search
- @ECHO OFF
- ECHO OFF
-
- REM Ensure that we came from START
- IF (%2) == () START
-
- REM Check that file exists
- IF EXIST %1 GOTO EOCKFILE
- CLS
- ECHO The file %1 was not found. Please contact Pinnacle at
- ECHO 514-345-9578 to find out how you can obtain the complete package.
- GETKEY Press a key to continue... @
- GOTO QUIT
- :EOCKFILE
-
- REM Test for standard view versus hyperdoc
- IF (%3) == () GOTO STDVIEW
- IF (%3) == (ALL) GOTO ALLVIEW
-
- REM It's a hyperview. We explicitly state the prefix in case the user has
- REM changed the configuration file.
- SEE %1 /P /N!:: /F::%3 /Q
- GOTO QUIT
-
- REM It's a hyperview, but we're showing all of it.
- :ALLVIEW
- SEE %1 /P /N!::
- GOTO QUIT
-
- :STDVIEW
- SEE %1
-
- :QUIT
- IF NOT (%2) == () START @ %2
-